import request from '@/utils/request'

export function getCommentWorksListApi(params) {
    return request({
        url: '/web/api/works/comment/works/list',
        method: 'get',
        params
    })
}
export function getCommentListApi(params) {
    return request({
        url: '/web/works/comment/list',
        method: 'get',
        params
    })
}
export function handleUnlikeCommentApi(params) {
    return request({
        url: '/web/api/works/comment/unlike',
        method: 'post',
        params
    })
}
export function handlelikeCommentApi(params) {
    return request({
        url: '/web/api/works/comment/like',
        method: 'post',
        params
    })
}
export function addWorksCommentApi(params) {
    return request({
        url: '/web/api/works/comment/add',
        method: 'post',
        params
    })
}